import http from '../utils/http'

/**
 * 获取订单列表
 * @param {*} param 
 * @param {*} config 
 */
export const reqOrderList = (param,config) =>{
  return http.get('/order/list',param,config)
}

/**
 * 再来一单
 * @param {*} orderId 
 */
export const reqOrderAgain = (orderId) =>{
  return http.get(`/order/again/${orderId}`)
}